<?php
namespace app\common\validate;

use think\Validate;

class Attribute extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'image'  =>  'require',
    ];

    protected $message = [
        'name.require' => '属性名称不能为空',
        'image.require' => '属性图片不能为空',
    ];

}